 package com.huawei.push.controller;
 
 import com.huawei.push.service.PushUsageInfoService;
 import java.io.IOException;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.ResponseBody;
 
 @Controller
 public class PushUsageInfoController {
   @Autowired
   private PushUsageInfoService pushUsageInfoService;
   
   @RequestMapping(value = {"/auth/push"}, method = {RequestMethod.POST})
   @ResponseBody
   public String pushUsageInfo() throws IOException {
     return this.pushUsageInfoService.pushUsageInfo();
   }
 }


